package com.ruoyi.mining.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 课程信息对象 mn_course
 *
 * @author liyuxi
 * @date 2024-04-10
 */
@ToString
@Data
@TableName("scf_contract_info")
public class Course extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 课程名称
     */
    @Excel(name = "课程名称")
    private String name;

    /**
     * 课程描述
     */
    @Excel(name = "课程描述")
    private String intro;

    /**
     * 授课教师
     */
    @Excel(name = "授课教师")
    private String teacherName;

    /**
     * 课程时长
     */
    @Excel(name = "课程时长")
    private Integer duration;

    /**
     * 费用
     */
    @Excel(name = "费用")
    private Integer fee;

    /**
     * 课程人数
     */
    @Excel(name = "课程人数")
    private Integer studCnt;

    /**
     * 开课时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开课时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;
    @TableField("ORG_CODE")
    private String orgCode;



}
